<%--
  Created by IntelliJ IDEA.
  User: Jacey
  Date: 2017/6/30
  Time: 9:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--shiro标签--%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!-- 顶栏 -->
<div class="container" id="top">
    <div class="row">
        <div class="col-md-12">
            <!--加入导航条标题-->
            <div class="navbar navbar-default" role="navigation">
                　<div class="navbar-header">
                　    <a href="##" class="navbar-brand">教务信息查询系统(教师)</a>
                　</div>
                <form action="##" class="navbar-form navbar-right" rol="search">
                    <div class="dropdown">
                        <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-bs-toggle="dropdown" style="margin-right: 20px; ">
                            <%--登录用户名--%>
                            <i class="bi bi-person"><shiro:principal/></i>
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
                            <li role="presentation">
                                <a role="menuitem" tabindex="-1" href="#" class="dropdown-item">
                                    <i class="bi bi-pencil-square float-end"></i>
                                    修改个人信息
                                </a>
                            </li>
                            <!-分割线--->
                            <li role="presentation" class="divider">
                                <hr class="dropdown-divider"/>
                            </li>
                            <li role="presentation">
                                <a role="menuitem" tabindex="-1" href="/logout" class="dropdown-item">
                                    <i class="bi bi-box-arrow-right float-end"></i>
                                    注销
                                </a>
                            </li>
                        </ul>
                    </div>

                </form>
            </div>

        </div>
    </div>

    <div class="row mt-2">
        <ul class="nav nav-tabs" id="nav">
            <li class="nav-item col-sm-2">

            <a class="nav-link" aria-current="page"  href="/teacher/showCourse">我的课程<span class="badge float-end bg-secondary rounded-pill">8</span></a>
            </li>
            <li class="nav-item col-sm-2">

            <a class="nav-link"  href="/teacher/passwordRest">修改密码<i class="bi bi-pencil-square float-end"></i></a>
            </li>
            <li class="nav-item col-sm-2">

            <a class="nav-link"  href="/logout">退出系统<i class="bi bi-box-arrow-right float-end"></i></a>
            </li>
        </ul>
    </div>
</div>
